const electricityData = {
  "江苏寅昊智能装备有限公司": [
    { yearMonth: 202509, totalPower: 153658, receivedAmount: 137040.8 },
    { yearMonth: 202508, totalPower: 226907, receivedAmount: 196198.39 },
    { yearMonth: 202507, totalPower: 231254, receivedAmount: 197066.83 },
    { yearMonth: 202506, totalPower: 159943, receivedAmount: 141181.52 },
    { yearMonth: 202505, totalPower: 116243, receivedAmount: 108313.58 },
    { yearMonth: 202504, totalPower: 91709, receivedAmount: 83888.88 },
    { yearMonth: 202503, totalPower: 143189, receivedAmount: 131929.79 },
    { yearMonth: 202502, totalPower: 165343, receivedAmount: 152196.03 },
    { yearMonth: 202501, totalPower: 201745, receivedAmount: 186520.86 },
    { yearMonth: 202412, totalPower: 216868, receivedAmount: 202096.29 },
    { yearMonth: 202411, totalPower: 117567, receivedAmount: 120401.41 },
    { yearMonth: 202410, totalPower: 86909, receivedAmount: 85968.44 },
    { yearMonth: 202409, totalPower: 142250, receivedAmount: 139786.06 },
  ],
  "江苏天明机械集团有限公司": [
    { yearMonth: 202508, totalPower: 705, receivedAmount: 31348.13 },
    { yearMonth: 202507, totalPower: 841, receivedAmount: 31331.8 },
    { yearMonth: 202506, totalPower: 485, receivedAmount: 27468.54 },
    { yearMonth: 202505, totalPower: 409, receivedAmount: 27847.87 },
    { yearMonth: 202504, totalPower: 317, receivedAmount: 26693.91 },
    { yearMonth: 202503, totalPower: 388, receivedAmount: 33729.77 },
    { yearMonth: 202502, totalPower: 451, receivedAmount: 32278.89 },
    { yearMonth: 202501, totalPower: 474, receivedAmount: 43609.46 },
    { yearMonth: 202412, totalPower: 868, receivedAmount: 40168.62 },
    { yearMonth: 202411, totalPower: 1486, receivedAmount: 30149.07 },
    { yearMonth: 202410, totalPower: 1764, receivedAmount: 29366.97 },
    { yearMonth: 202409, totalPower: 2604, receivedAmount: 37194.04 },
  ],
};

// todo
// params: { name: string, creditCode: string }
export function getCompanyElectricityData(params) {
    return electricityData[params.name?.trim()] || null;
}
